Skip to content

Conversation

supersonicbyte
Copy link
Collaborator

This PR updates the Fork enum to contain a fallback URL which we can resort to in cases where the Package we are referencing is deleted. More detailed information can be found in this PR.

do { // Migration 079 - Add `forked_from` to `repositories`
app.migrations.add(UpdateRepositoryAddForkedFrom())
}
do { // Migration 080 - Set`forkded_from` to NULL because of Fork model change in Repository
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: forkded_from to forked_from

app.migrations.add(UpdateRepositoryAddForkedFrom())
}
do { // Migration 080 - Set`forkded_from` to NULL because of Fork model change in Repository
app.migrations.add(UpdateRepositoryAddForkedFrom2())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another nit: Maybe UpdateRepositoryResetForkedFrom

@daveverwer daveverwer force-pushed the add-forked-from-fallback branch from 9d8e1ae to 6052f57 Compare September 20, 2024 09:33
@daveverwer daveverwer merged commit 08fb3dc into main Sep 20, 2024
5 checks passed
@daveverwer daveverwer deleted the add-forked-from-fallback branch September 20, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants